<template>
  <div class="app-container"
    <iframe
      id="iframe-box"
      class="iframe-box"
      src="http://36.133.8.48:1088/"
      frameborder="0"
    />
  </div>
</template>

<script>
  export default {
      mounted(){
        //   console.log(document.frames['iframe-box'].document.getElementsByClass('el-header'));
      }
  }
</script>

<style lang="scss" scoped>
  .app-container {
    padding: 0;
    // height: calc(100vh -50px) !important;
    z-index: 10;
  }
  .iframe-box {
    position: absolute;
    width: 100%;
    // top: -30px;
    height: calc(100% - 50px) ;
    .el-header{
        height: 0;
    }
  }
</style>
